<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <!--[if lt IE 9]>
    <script type="text/javascript" src="./Public/Admin/lib/html5.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/respond.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/PIE_IE678.js"></script>
    <![endif]-->
    <link href="./Public/Admin/css/H-ui.min.css" rel="stylesheet" type="text/css">

    <!--[if IE 6]>
    <script type="text/javascript" src="./Public/Home/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->

    <meta name="keywords" content="">
    <meta name="description" content="">
    <script type="text/javascript" src="./Public/Admin/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="./Public/Admin/lib/layer/1.9.3/layer.js"></script>
	<link rel="stylesheet" href="./Public/Admin/lib/layer/1.9.3/skin/layer.css" id="layui_layer_skinlayercss">
	
<title>商品列表</title>
<style>
		td{width:50px;height:18px;overflow:hidden;word-spacing:nowrap;padding:0 3px;margin:0;border-top:1px solid #000 !important;border-left:1px solid #000 !important;line-height:14px;}
	table{
		table-layout:fixed;
		border:0 !important;
	}
	tr{
		border:0 !important;
	}
	.border00{
		border-top:0 !important;
		border-right:0 !important;
		border-left:0 !important;
		border-bottom:0 !important;
	}
	.border0{
		border-top:0 !important;
		border-right:0 !important;
		border-left:0 !important;
	}
	.border1{
		border-right:1px solid #000 !important
	}
	.border2{
		border-bottom:1px solid #000 !important
	}
	.border-top{
		border-top:0 !important;
	}
	.border-right{
		border-right:0 !important;
	}
	.border-bottom{
		border-bottom:0 !important;
	}
	.border-left{
		border-left:0 !important;
	}
	.bold{
		font-weight:bold;
	}
	.align-left{
		text-align:left;
	}
	.table-border td {
		border-bottom: 0px solid #ddd;
	}
	@media print {
		.noprint { display: none; }
		#emstable {page-break-after:always;}
	}
</style>
</head>
<body>
<div class="pd-20">
	<table class=" table-border table-bordered table-hover ">
		<thead>
			<tr>
				<td scope="col" colspan="13" class="border00" style='text-align:center;font-size:24px;padding:15px;'>{:C('base_config.company_name')}入库单</td>
			</tr>
			<tr class="">
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0"></td>
				<td class="border0">打印日期:</td>
				<td class="border0" colspan="2">{:date('Y-m-d',time())}</td>
				<td class="border0">打印页数:</td>
				<td class="border0">1/1</td>
				<td class="border0"></td>
			</tr>
			<tr class="text-c">
				<td class="border2 border-bottom align-left" colspan="2">入库单号：</td>
				<td class="border2 border-bottom align-left" colspan="2">{$detail.order_no}</td>
				<td class="border2 border-bottom align-left" colspan="5">制单日期：{$detail.add_time|date="Y-m-d",###}</td>
				<td class="border2 border-bottom align-left">仓库名称：</td>
				<td class="border1 border2 border-bottom align-left" colspan="3">{$Think.session.warehouse_name}</td>
			</tr>
			<!-- <tr class="text-c"> -->
				<!-- <td class="border2 border-bottom align-left" colspan="2">供应商：</td> -->
				<!-- <td class="border2 border-bottom align-left" colspan="2">{$detail.company_name}</td> -->
				<!-- <td class="border2 border-bottom align-left" colspan="2">部门：{$detail.section_no}</td> -->
				<!-- <td class="border2 border-bottom align-left" colspan="3">业务员：{$detail.purshing}</td> -->
				<!-- <td class="border2 border-bottom align-left">企业名称：</td> -->
				<!-- <td class="border1 border2 border-bottom align-left" colspan="3"></td> -->
			<!-- </tr> -->
			<tr class="text-c">
				<td  colspan="2">商品编码</td>
				<td  colspan="3">商品名称</td>
				<td  colspan="2">批次号</td>
				<td  colspan="1">生产日期</td>
				<td  colspan="1">主单位</td>
				<td  colspan="1">数量</td>
				<td  colspan="1">辅单位</td>
				<td  colspan="1">辅数量</td>
				<td  colspan="1" class="border1">备注</td>
			</tr>
			

		</thead>
		<tbody>
		<volist name="list" id="vo">
			<tr class="text-c">
				<td colspan="2">
					{$vo.goods_no}
				</td>
				<td colspan="3">{$vo.goods_name}</td>
				<td colspan="2">
					{$vo.batch_no}
				</td>
				<td></td>
				<td>{$vo.unit1_name}</td>
				<td>
					{$vo.receive_amount}
				</td>
				<td>{$vo.unit2_name}</td>
				<td>
					{$vo.unit2_count}
				</td>
				<td class="border1">{$vo.bz}</td>
			</tr>
		</volist>
			<tr class="text-c">
				<td  colspan="2" class="border2">合计</td>
				<td  colspan="4" class="border2"></td>
				<td  colspan="2" class="border2"></td>
				<td  colspan="1" class="border2"></td>
				<td  colspan="1" class="border2">{$count_receive_amount}</td>
				<td  colspan="1" class="border2"></td>
				<td  colspan="1" class="border2">{$count_unit2_count}</td>
				<td  colspan="1" class="border1 border2"></td>
			</tr>
		</tbody>
	</table>
	<input type="button" class="btn btn-success radius mt noprint" onclick="window.print()"  value="打印">
<div class="pages">
{$page}
</div>
</div>

</body>
</html>
</html>